From 62185de0cfecb01a85586f0e9b3bf837f3f56ae5 Mon Sep 17 00:00:00 2001 From: Michael Gilbert Date: Sat, 19 Mar 2022 00:48:02 +0000 Subject: [PATCH] retrieve the correct union member Gbp-Pq: Topic arm64 Gbp-Pq: Name incorrect-member.patch --- dlls/dbghelp/cpu_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/cpu_arm64.c b/dlls/dbghelp/cpu_arm64.c index 515294f..29a94ea 100644 --- a/dlls/dbghelp/cpu_arm64.c +++ b/dlls/dbghelp/cpu_arm64.c @@ -170,7 +170,7 @@ static unsigned arm64_map_dwarf_register(unsigned regno, const struct module* mo static void *arm64_fetch_context_reg(union ctx *pctx, unsigned regno, unsigned *size) { #ifdef __aarch64__ - CONTEXT *ctx = pctx; + CONTEXT *ctx = &pctx->ctx; switch (regno) { -- 2.30.2